<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <!-- <script src="https://unpkg.com/vue@3/dist/vue.global.js"></script> -->

    <!-- 路径可能跟我不一样，需要修改 -->
    <script src="../js/vue.global.js"></script>
</head>

<body>

    <div id="app">
        <div> {{msg}} </div>


        <div v-text="msg"> </div>


        <div v-html="msg"> </div>

    </div>



    <!-- 使用 vue 管理 app 模板 -->

    <script>
        Vue.createApp({
            data() {
                return {

                    msg: '<h1>一级标题，hello vue</h1>'
                }
            }
        }).mount("#app")



    </script>




</body>

</html>